/*
 * @Author: xianxinxiu 
 * @Date: 2020-01-07 17:27:23 
 * @Last Modified by: xianxinxiu
 * @Last Modified time: 2021-02-23 21:11:28
 */
const list = Array.from(Array(10), (v, k) => {
  // console.log(k)
  return k+1
})
// console.log(Array.from([1,2,3], i => i*i))
// console.log(Array.from('foo', i => i + '-'))
console.log('list', list)
// console.log(Array.from({length: 3}, (v, i) => i + 1))
